

The files in this dataverse repository will replicated the findings in Acharya, Blackwell, and Sen, "Analyzing Causal Mechanisms in Survey Experiments" in Political Analysis. `scotus-replication.R` produces the results from the Sen (2017) replication and `tw-replication-dvn.R` produces the results of the Tomz and Weeks (2013) replication. These files are independent and so can be run in any order. The following information summarizes the computing environment used to conduct the analyses for the paper:

- Operating system: MacOS 13.3.2
- R version: 3.4.0
- R packages: stargazer, xtable, reshape, rms, foreign, lmtest, sandwich, msm, coefplot, ggplot2, aod.
- CPU cores required: 1
- Running time on MacBook Pro (2015, 3.1Ghz i7): `scotus-replication.R` (~11 sec), `tw-replication-dvn.R` (~13 sec)
